package scau.erps.view.decision.card;

import java.awt.BorderLayout;
import java.awt.event.ActionEvent;

import scau.erps.view.decision.finance.MaterialFinancePanel;
import scau.erps.view.decision.sand.PayablePanel;

public class MaterialCardPanel extends CardPanelTemplate{
	private static final long serialVersionUID = 1L;
	private MaterialFinancePanel materialFinancePanel;
	private PayablePanel payablePanel;
	public MaterialCardPanel(){
		super();
		this.btn[7].setVisible(true);
		this.btn[8].setVisible(true);
		this.btn[9].setVisible(true);
		this.btn[10].setVisible(true);
		this.btn[11].setVisible(true);
		this.sandPanel.setLayout(new BorderLayout());
		materialFinancePanel = new MaterialFinancePanel();
		payablePanel = new PayablePanel();
		this.sandPanel.add(materialFinancePanel,BorderLayout.NORTH);
		this.sandPanel.add(payablePanel,BorderLayout.WEST);		
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		// TODO Auto-generated method stub
		
	}

	@Override
	public String setRule() {
		// TODO Auto-generated method stub
		return null;
	}

}
